package org.jeecg.modules.demo.ch.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.demo.ch.entity.XcbzT;
import org.jeecg.modules.demo.ch.mapper.XcbzTMapper;
import org.jeecg.modules.demo.ch.service.IXcbzTService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author yxx
 * @since 2022-10-11
 */
@Service
@DS("slave_2")
public class XcbzTServiceImpl extends ServiceImpl<XcbzTMapper, XcbzT> implements IXcbzTService {

    @Resource
    private XcbzTMapper xcbzTMapper;

    @Override
    public String queryPriceByNo(String inat001) {

        return xcbzTMapper.queryPriceByNo(inat001);
    }

    @Override
    public List<XcbzT> queryList(String xcbzcomp,String XCBZ001,String XCBZ006,String XCBZ002) {

        return xcbzTMapper.queryList( xcbzcomp, XCBZ001, XCBZ006, XCBZ002);
    }


}
